package com.ikingtech.framework.sdk.context.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author tie yan
 */
@Getter
public class ApplicationMenuRemoveEvent extends ApplicationEvent implements Serializable {

    @Serial
    private static final long serialVersionUID = -1985185647474577349L;

    private final String appCode;

    private final String tenantCode;

    public ApplicationMenuRemoveEvent(Object source, String tenantCode, String appCode) {
        super(source);
        this.tenantCode = tenantCode;
        this.appCode = appCode;
    }
}
